package com.sdy.healthcode.biz.dto.cockpit;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sdy.common.utils.DateUtil;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

@Data
@Accessors(chain = true)
@ApiModel(value = "科室预约信息")
public class CockpitExpertsAppointment {
    @ApiModelProperty(value = "预约ID")
    private Integer id;
    
    @ApiModelProperty(value = "部门")
    private String dept;
    
    @ApiModelProperty(value = "预约日期")
    @JsonFormat(pattern = DateUtil.DATE_FORMAT)
    private Date appointmentDate;
    
    @ApiModelProperty(value = "上下午")
    private String dayStr;
    
    @ApiModelProperty(value = "预约时间")
    private String visitTime;
    
    @ApiModelProperty(value = "医生")
    private String doctorName;

    @ApiModelProperty(value = "就诊人")
    private String userName;

    @ApiModelProperty(value = "就诊人电话")
    private String userPhone;

    @ApiModelProperty(value = "取消时间")
    @JsonFormat(pattern = DateUtil.DATETIME_FORMAT)
    private Date cancelTime;
}
